package clusteringAlg;

import java.util.ArrayList;
import java.util.List;

import org.opencv.core.Size;


public class Person {

	List<Sample> fotos;
	int id;
	
	public List<Sample> getSamples() {
		return fotos;
	}

	public void setSamples(List<Sample> fotos) {
		this.fotos = fotos;
	}
	
	public Sample getSample(int index){
		return fotos.get(index);
	}
	
	public boolean AddSample(Sample m){
		
		return fotos.add(m);
	}
	
	public int getId() {
		return id;
	}

	public void setId(int Id) {
		this.id = Id;
	}

	public Person(List<Sample> fotos, int Id) {
		super();
		this.fotos = fotos;
		this.id = Id;
	}
	
	public Person( int Id) {
		super();
		this.fotos = new ArrayList<Sample>();
		this.id = Id;
	}
	
	public Person() {
		super();
		this.fotos = null;
		this.id = -1;
	}
	
	public Size GetSampleSize(){
		return this.fotos.get(0).getImage().size();
	}
	
	public int GetSampleCount(){
		return this.fotos.size();
	}
	
	public int GetSampleType(){
		return this.fotos.get(0).getImage().type();
	}
	

}
